<nz-spin [nzSpinning]="isSpinning" [nzTip]="'正在初始化模块信息...'">
  <section class="in-index">
    <div class="table-bg" style="padding-top: 15px;height: 60px;width: 100%;display:flex;align-items: center;justify-content: flex-start;width: 96% !important;margin: 0 auto;border-radius:4px !important;padding-left: 16px !important;">
        <nz-input-group style="float: left;width: 200px;" (keydown)="classsearchinput($event)" nzSuffixIcon="anticon anticon-search">
          <input [(ngModel)]="listSearchValue[0].propertyValue" type="text" nz-input placeholder="班级名称">
        </nz-input-group>
        <button *ngIf="studentstatus" style="margin-left: 60px;color: red" (click)="studentapply(id)" nz-button nzType="default"><i class="anticon anticon-exclamation-circle"></i>
          有学生申请加入班级，点击查看</button>
    </div>



    <nz-table
    [nzLoading]="loadingData" [nzFrontPagination]="false"
    [nzTotal]="listEntities.recordTotalCount" [(nzPageIndex)]="listEntities.currentPageIndex" (nzPageIndexChange)="getEntityListAsync(true)"
    [(nzPageSize)]="listEntities.pageSize"
    #nzTable #nzFixedHeader nzBordered
    #rowSelectionTable
    [nzData]="listEntities.entities"
    >
      <thead nz-thead>
        <tr>
          <th style="text-align: center;">
            <span>班级名字</span>
          </th>
          <th style="text-align: center;">
            <span>班级人数</span>
          </th>
          <th nz-th style="text-align: center;">操作</th>
        </tr>
      </thead>
      <tbody nz-tbody style="text-align: center;">
        <tr nz-tbody-tr *ngFor="let data of rowSelectionTable.data">
          <td nz-td>
            <span>{{data.className}}</span>
          </td>
          <td nz-td>
            <span>{{data.studentCount}}</span>
          </td>
          <td nz-td>
            <a (click)="studentmanage(data.id)">
              <i class="anticon anticon-edit"></i>查看详细列表</a>
          </td>
        </tr>
      </tbody>
    </nz-table>
    <!-- <nz-modal [(nzVisible)]="isVisiblemm" nzTitle="编辑" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOkmm('success')">
        <nz-form-item >
            <nz-form-label [nzSpan]="6" nzFor="noticeContent111">新密码</nz-form-label>
            <nz-form-control [nzSpan]="14">
                <input placeholder="请填写密码"  type="text" style="width: 260px" nz-input  [id]="personPassword1111" [(ngModel)]="repassword"/> <span style="color: red">*</span>
            </nz-form-control>
        </nz-form-item >
    </nz-modal> -->
  </section>
</nz-spin>
